/*
 * temperature.h
 *
 *  Created on: 23/02/2013
 *      Author: cerber0
 */

#ifndef TEMPERATURE_H_
#define TEMPERATURE_H_

#include <pins.h>
#include <dht.h>

class temperature
{
public:
	double Fahrenheit(double celsius);
	double Kelvin(double celsius);
	double dewPoint(double celsius, double humidity);
	double dewPointFast(double celsius, double humidity);
	void   calibration();
	double soilHumidity;
	double humidity;
	double temp;
	double dewPointD;
	int soilMin;
	int soilMax;
	int read();
};

#endif /* TEMPERATURE_H_ */
